package com.jadows.tdog.server;

import com.jadows.tdog.server.option.ChatServerOption;
import io.netty.bootstrap.ServerBootstrap;

/**
 * @author taojiacheng
 */
public interface ChatServer extends ChatServerLifeCycle {

    static ChatServer newInstance(ChatServerOption option) {
        return ChatServerFactory.getInstance().newChatServer(option);
    }

    ChatServerOption option();

    ServerBootstrap bootstrap();
}
